# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=py3-playsound
pkgver=1.3.0
pkgrel=1
pkgdesc="Pure Python, cross platform, single function module for playing sounds"
url="https://github.com/TaylorSMarks/playsound"
arch="noarch"
license="MIT"
depends="python3 py3-gobject3 py3-gst"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/TaylorSMarks/playsound/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/playsound-$pkgver"
options="!check" # tests hang

build() {
	python3 setup.py build
}

check() {
	python3 test.py
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
a64d34ae843bc648a26a5c146e87f7a4da0a99edae5c9b50a522527a20cc464ddc80d85572efece4518c43e5a54a7ffdf756ebc3adad96d552314fa40e491148  py3-playsound-1.3.0.tar.gz
"
